//001.ESC Encode
function EnESCode(sourceStr){
	var c = String.fromCharCode(sourceStr.charCodeAt(0) + sourceStr.length);  
    for(var i = 1;i < sourceStr.length;i ++){  
    	c += String.fromCharCode(sourceStr.charCodeAt(i) + sourceStr.charCodeAt(i - 1));  
    }
	return escape(c);
}
//001A.ESC Decode
function DeESCode(passwordStr){
	passwordStr = unescape(passwordStr);  
    var c = String.fromCharCode(passwordStr.charCodeAt(0) - passwordStr.length);  
    for(var i = 1;i < passwordStr.length;i ++){  
    	c += String.fromCharCode(passwordStr.charCodeAt(i) - c.charCodeAt(i - 1));  
    }  
    return c; 
}
